/**
 * vuex仓储
 */

import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

import common from './common'
import home from './home'
import error from './error'
import member from './member'
import product from './product'

const store = new Vuex.Store({
    modules: {
        // 模块注册处
        common,
        home,
        error,
        member,
        product
    }
})

export default store